function state() {
  return {
    // SearchPanel
    departments: [],
    // EditDialog
    editTarget: {
      name: '',
      day: '',
      time: '',
      predictServiceStartTime: '',
      predictServiceEndTime: '',
      orderContent: ''
    },
    // AddDialog
    mainServiceTypeOptions: [],
    subServiceTypeOptions: [],
    newDutyToken: {},
    // Schedule
    whichWeek: new Date().getTime(), //请求参数
    schedules: [],
    dates: [],
    page: 1,
    pageSize: 0,
    total: 0,
    department: '',
    name: ''
  };
}

export default state;
